package com.dd.cloud.user.req.chknowl;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * <p>
 * 添加通方
 * </p>
 *
 * @author czg
 * @since 2022-07-04
 */
@Data
public class ChknowlCurrCreateReq implements Serializable {

    private static final long serialVersionUID=1L;

    /**
     * 疾病名
     */
    @NotBlank(message = "疾病名不能为空")
    private String disease;

    /**
     * 处方
     */
    @NotBlank(message = "处方不能为空")
    private String pres;

    /**
     * 状态 1有效 0无效,下架 -1删除
     */
    @NotNull(message = "状态不能为空")
    private Integer status;

}
